<?php

namespace app\basic\model;


use app\basic\BaseModel;

/**
 * 会员第三方信息
 */
class UserThird extends BaseModel
{

    // 表名
    protected $name = 'user_member_third';
    // 开启自动写入时间戳字段
    protected $autoWriteTimestamp = 'int';
    // 定义时间戳字段名
    protected $createTime = 'create_time';
    protected $updateTime = 'update_time';

    protected $deleteTime = false;

    public const TYPE_LIST = [
        'mini' => 'mini',
        'oa'   => 1,
    ];

    public const TYPE_MAP_LIST = [
        self::TYPE_LIST['mini'] => 'mini',
        self::TYPE_LIST['oa']   => 'oa',
    ];

}
